package com.chx.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author cp-月入过万
 * @Date 2025/5/28
 * 销售订单项
 */
@Data
public class SaleOrderDetailVo implements Serializable {
    @ApiModelProperty("销售订单项ID")
    private Long detailId;

    @ApiModelProperty("销售订单ID")
    private Long orderId;

    @ApiModelProperty("商品ID")
    private Long productId;

    @ApiModelProperty("商品名称")
    private String productName;

    @ApiModelProperty("销售价格")
    private Double salePrice;

    @ApiModelProperty("销售数量")
    private Long quantity;

    @ApiModelProperty("商品小计")
    private Double subtotal;
}
